package com.wmyg.antifake.dao;

import com.wmyg.antifake.bean.FactoryDevice;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FactoryDeviceMapper {

    int insertFactoryDevice(FactoryDevice factoryDevice);

    List<FactoryDevice> selectFactoryDevice(FactoryDevice factoryDevice);

    List<FactoryDevice> selectDeviceByFactoryId(Integer factoryId);

}
